package com.pkk.penguin.frame.know.java.driven.propertiessources.config;

import com.pkk.penguin.frame.know.java.driven.propertiessources.bean.AppNamepProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @description:
 * @author: peikunkun
 * @create: 2020-08-04 18:
 **/
@Configuration
@PropertySource("classpath:dirven/xml-resources.yml")
public class PropertiesConfig {


  @Bean
  public AppNamepProperty appNamepProperty() {
    return new AppNamepProperty();
  }

}
